<?php
/**
 * 角色绑定权限
 * User: Administrator
 * Date: 2018\9\11 0011
 * Time: 17:41
 */

namespace app\Lib\InterfaceIn\AdminAuth\Authorization;


use app\Lib\InterfaceIn\Role\RoleHandle;

interface RoleBindingAuthHandle extends  BindingAuthBaseHandle
{
    /**
     * 初始化
     * RoleBindingAuthHandle constructor.
     * @param RoleHandle $role
     */
    public function __construct(RoleHandle $role);

    /**
     * 执行
     * @return bool
     */
    public function run();
}